Replacing \Session::set('u2f.registerData', $req); WIth session(['u2f.registerData' => $req]); Works